package com.example.activity_usage.utils;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

public class DateUtils {

    public static String getFormattedTimeNow() {
        DateFormat dfm = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.CHINESE);
        return dfm.format(new Date());
    }
}
